<%@ page import="java.net.URLDecoder" %>
<%--
  Created by IntelliJ IDEA.
  User: rihel
  Date: 2018/3/15
  Time: 下午10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="includes/head.jsp"/>
<%

    String msg = null;
    Integer code = null;
    if(request.getParameter("code") != null){
        code =Integer.parseInt(request.getParameter("code"));
    }
    if(request.getParameter("msg")!=null){
        msg = URLDecoder.decode(request.getParameter("msg"));
    }
%>
<div class="container">
    <div class="row">
        <div class="jumbotron">
            <i class="fa fa-4x fa-check"></i>
            <span class="type"></span>成功
        </div>
    </div>
</div>
<script>
    $(function(){
        var resultTypes = ["登录","注册"];
        $('.type').html(resultTypes[<%=code-1%>]);
	})
</script>
<jsp:include page="includes/foot.jsp"/>
